<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
		Remove this if you use the .htaccess -->
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<title>demo-1</title>
		<meta name="description" content="" />
		<meta name="author" content="可乐加糖" />
		<meta name="viewport" content="width=device-width; initial-scale=1.0" />
		<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
		<link rel="shortcut icon" href="/favicon.ico" />
		<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
	</head>
	<body>
		<script type="text/javascript">
		//例：创建一个遮罩层
		({
			shadoWidth:"100%",
			height:"0px",
			//设置遮罩层属性
			setCss:function(cssObj){
				//如果传过来的值不是一个JSON对象
				if(typeof cssObj != "object"){
				
				}
			},
			//初始化函数
			init:function(){
				//创建元素到DOCUMENT
				
				//设置样式
				
				//添加元素
			}
		}).init();
		</script>
	</body>
</html>